package com.jy.modules.cims.common.exception;

public class CimsExceptionConstant {
	public static String SYSASSIST_CREATE_BIZNO_FAIL = "创建业务流水号失败";

	public static String INTERACT_RESTCLIENT_SERVICE_FAIL = "接口执行rest服务失败";
	public static String INTERACT_SERVICE_FAIL = "核心系统执行异常：";
	
	public static String REDEEM_OPERATION_FAIL = "{0}赎回债权价值不能大于赎回日期的债权价值！";
	
	public static String INTERACT_SERVICE_BUSI_FAIL = "交易流水号{}对应接口流水号{}调用接口返回业务错误：{}";
	public static String INTERACT_GET_INTERACTNO_FAIL = "调用接口前获取接口流水号失败";
	public static String INTERACT_QUOTA_NOT_SET_TYPE = "额度接口未指定额度类型";
	public static String INTERACT_SERVICE_NOTFOUND = "接口服务找不到，请联系系统人员";
	public static String INTERACT_SERVICE_ERROR = "接口服务异常，请联系系统人员";
	public static String INTERACT_NETWORK_ERROR = "接口网络异常或处理超时，请联系系统人员";
	public static String INTERACT_CREDIT_APPROVECONFIRM_LIST_EMPTY = "债权确认列表为空，不再调用接口";
	public static String INTERACT_CREDIT_REDEEM_LIST_EMPTY = "债权赎回列表为空，不再调用接口";
	public static String INTERACT_CREDIT_UNLOCK_LIST_EMPTY = "债权释放列表为空，不再调用接口";
	public static String INTERACT_LOAN_TRANSFER_REDEEM_LIST_EMPTY = "贷款转出赎回列表为空，不再调用接口";

	public static String JOB_ASYNGETQUOTALOANINFO_FAIL = "异步获取额度匹配的贷款信息失败";
	
	public static String JOB_ASTNGETLOANDETAILRESULT_FAIL = "获取贷款放款信息失败";
	
	public static String JOB_ASTNGETSETTLERESULT_FAIL = "更新结算信息失败";
	
	public static String JOB_ASTNGETTBJAUDITRESULT_FAIL = "更新审核信息失败";
	
	public static String JOB_ASYNGETQUOTALOANINFO_LOCK_FAIL = "获得异步获取额度匹配的贷款信息锁失败,可忽略";

	public static String JOB_ASYNGETQUOTACREDITINFO_FAIL = "异步获取额度匹配的债权信息失败";
	public static String JOB_ASYNGETQUOTACREDITINFO_LOCK_FAIL = "获得异步获取额度匹配的债权信息锁失败,可忽略";

	public static String JOB_ASYNUNCLOCKQUOTACREDITINFO_FAIL = "异步释放额度匹配的债权信息失败";
	public static String JOB_ASYNUNCLOCKQUOTACREDITINFO_LOCK_FAIL = "获得异步释放额度匹配的债权信息锁失败,可忽略";

	public static String JOB_ASYNUNCLOCKQUOTALOANINFO_FAIL = "异步释放额度匹配的贷款信息失败";
	public static String JOB_ASYNUNCLOCKQUOTALOANINFO_LOCK_FAIL = "获得异步释放额度匹配的贷款信息锁失败,可忽略";

	public static String JOB_ASYNUPDATECREDITVALUE_FAIL = "异步刷新债权失败";
	public static String JOB_ASYNUPDATECREDITVALUE_LOCK_FAIL = "获得异步刷新债权锁失败,可忽略";

	public static String JOB_ASYNGETLOANREPAYMENTPLAN_FAIL = "异步获取还款计划失败";
	public static String JOB_ASYNGETLOANREPAYMENTPLAN_LOCK_FAIL = "获得异步获取还款计划锁失败,可忽略";

	public static String JOB_ASYNDUEEXECUTETASK_FAIL = "到期执行任务执行失败";
	public static String JOB_ASYNDUEEXECUTETASK_LOCK_FAIL = "获得到期执行任务执行锁失败,可忽略";

	public static String QUOTA_DELETE_SUCCESS = "删除额度信息成功";
	public static String QUOTA_DELETE_FAIL = "执行方法deleteSysResource异常：";
	public static String QUOTA_DETAIL_DELETE_FAIL = "额度明细删除失败";
	
	public static String UPDATE_RAISE_PLAN_ITEM_SUM_FAIL = "募集计划更新项目总额失败！";
	public static String EXPORT_EXCEL_FAIL = "导出EXCEL异常";
	public static String IMPORT_EXCEL_FAIL = "导入EXCEL失败";
	public static String EXCEL_TEMPLATE_FAIL = "获取模板信息失败";
	public static String VALUENAME_TO_VALUE_FAIL = "属性名获取属性值失败";
	public static String SAVE_EXCEL_TEMPLATE_FAILED = "保存模板信息失败";
	public static String SURE_CREDIT_FAILED = "挑选债权失败";
	public static String SURE_LOAN_FAILED = "挑选贷款失败";
	
	public static String CREDIT_QUOTA_REAL_TIME_REFRESH_FAILED = "债权额度实时刷新失败！";
	public static String LOAN_QUOTA_REAL_TIME_REFRESH_FAILED = "贷款额度实时刷新失败！";
	
	//
	public static String UPDATE_LOAN_RESULT_FIELD = "更新放款结果失败！";
	
	public static String GET__MASTERDATA_FIELD = "获取主数据还款计划失败！";
	
	public static String UPDATE_AUDIT_RESULT_FIELD = "更新审批结果失败！";
	
	public static String UPDATE_CREDIT_SETTLE_IF= "更新结算信息失败！";
	
	public static String ADD_CREDIT_FAILED = "新增债权失败！";
	
	public static String COOPERORG_FORM_FAILED = "合作机构报表导出失败！";
	
	public static String INGURL_FILE = "影像文件导出失败！";
	public static String DOWN_LOAD_FILE = "影像文件下载失败！";
	
	public static String LOADDETAIL_FORM_FAILED = "贷款信息导出失败！";
	
	public static String TBJ_FORM_FAILED = "铜板街报表导出失败！";

	public static String FILE_NOTEXIST = "{}文件不存在";

	public static String FILE_ANALYERROR = "文件{}解析异常";

	public static String FILE_CREATEERROR = "文件{}创建失败";

	public static String WEB_APPLICATION_CONTEXT_NULL = "webApplicationContext == null,webApplicationContext上下文属性未注入.";
	public static String NOT_INTO_BEAN = "类名[{0}]未注入.";

	public static String INTERACT_CLASS_INVOKE_PARAMETER_NULL = "传递的参数值为null,无法根据参数值获取参数类型.";
	public static String INTERACT_CLASS_INVOKE_INCORRECT_PARAMETER = "id[{0}]，业务流水号[{1}]的接口信息,根据类名,方法名,参数未获取到执行的方法，请检查执行接口传入的信息是否正确.";
	public static String INTERACT_CLASS_INVOKE_EXCEED_MAX_FAILURE_COUNTER = "id[{0}]，业务流水号[{1}]的接口信息执行调用超过最大错误次数[{2}].";
	public static String INTERACT_CLASS_INVOKE_ALREADY_EXECUTE = "id[{0}],业务流水号[{1}]的接口信息已经被执行完成.";

	/** FTP定义 */
	public static String FTP_LOGIN_SUCCESS = "用户[{}]登陆FTP服务器[{}]成功";
	public static String FTP_LOGIN_FAIL = "用户[{}]登陆FTP服务器[{}]失败:{}";
	public static String FTP_LOGIN_FAIL2 = "用户[{0}]登陆FTP服务器[{1}]失败";
	public static String FTP_LOGIN_NOREPLY = "用户[{}]登陆FTP服务器[{}]连接无应答";
	public static String FTP_LOGOUT_SUCCESS = "用户[{}]退出FTP服务器[{}]成功";
	public static String FTP_LOGOUT_FAIL = "用户[{}]退出FTP服务器[{}]失败:{}";

	public static String FTP_UPLOAD_DIR_FAIL = "上传本地文件夹[{}]到FTP文件目录[{}]失败:{}";
	public static String FTP_UPLOAD_FILE_FAIL = "上传本地文件[{}]到FTP文件目录[{}]失败:{}";
	public static String FTP_DOWNLOAD_DIR_FAIL = "下载FTP文件夹[{}]的文件到本地文件目录[{}]失败:{}";
	public static String FTP_DOWNLOAD_FILE_FAIL = "下载FTP文件[{}]到本地文件目录[{}]失败:{}";
	public static String FTP_DOWNLOAD_OUTPUTSTREAM_FAIL = "下载FTP文件[{}]到到输出流失败:{}";

	public static String TRANSFER_IMG_FAIL = "合作机构影像文件处理异常：{}";
	public static String TRANSFER_IMG_NO_FILE = "没有要处理的影像文件!";
	public static String TRANSFER_IMG_DEAL_BEGIN = "交易流水号:{}, 处理开始...";
	public static String TRANSFER_IMG_DEAL_END = "交易流水号:{}, 处理结束...";
	public static String TRANSFER_IMG_DEAL_MESSAGE_1 = "合同号:{},文件:{},处理状态:{}";
	public static String TRANSFER_IMG_DEAL_MESSAGE_2 = "总文件数:{},处理成功文件数:{}";

	/**
	 * ebs服务连接异常定义
	 */
	public static String CIMS_HTTP_ERROR = "连接http服务异常";

	// 系统辅助服务相关部分的异常定义
	public static String SYSASSIST_DUETASK_TASKINSTANCE_ERROR = "注册到期执行执行实例错误";
	public static String SYSASSIST_DUETASK_TASKMETHOD_ERROR = "注册到期执行执行函数错误";
	public static String SYSASSIST_DUETASK_DUEDATE_ERROR = "注册到期执行执行日期错误";
	public static String SYSASSIST_DUETASK_DUEDATE_BEFORE_CURRENT = "注册到期执行执行日期早于当前时期";
	public static String SYSASSIST_DUETASK_TASKID_NOT_FOUND = "到期执行任务标识找不到";

	// 反射部分异常
	public static String SPRING_REFLECT_BEAN_NOT_FOUND = "SPRING容器中未找到BEAN:{0}";
	public static String JAVA_REFLECT_METHOD_NOT_FOUND = "类{0}未找到方法{1},请检查方法名或参数是否一致";
	public static String JAVA_REFLECT_METHOD_INVOKE_FAIL = "类{0}执行方法{1}错误";
	public static String JAVA_REFLECT_METHOD_CLASS_NOT_FOUND = "参数类型{0}错误";
	
	public static String SAVE_EXCEL_TEMPLATE_FAIL="excel模板失败";
	
	   /**
     * 核心日终未完成。
     */
	public static String CORE_END = "核心日终未完成!";
	
	public static String CORE_EXCEPTION = "核心系统异常!";

}
